<?php

declare (strict_types=1);

namespace app\common\model\shop\shop;

use cores\BaseModel;

/**
 * 商户开店套餐模型类
 * Class Apply
 * @package app\common\model\store
 */
class Group extends BaseModel
{
    // 定义表名
    protected $name = 'shop_group';

    // 定义主键
    protected $pk = 'id';

    /**
     * 追加字段
     * @var array
     */
    protected $append = [];


    /**
     * 详情记录
     * @param int $applyId
     * @return static|array|null
     */
    public static function detail(int $applyId)
    {
        return self::get($applyId);
    }
}
